package com.example.bysj.domain;
//201902104061徐中堂
import lombok.*;

import java.io.Serializable;
@Setter
@Getter
@ToString
@AllArgsConstructor
@NoArgsConstructor
public final class StudentClass implements Comparable<StudentClass>,Serializable{
	private Integer id;
	private String description;
	private String no;
	private String remarks;
	private Department department;
	@Override
	public int compareTo(StudentClass other) {
		// no为排序依据
		return this.no.compareTo(other.no);
	}
}
